package com.ruoyi.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.exam.domain.ExamRandomPracticeQuestion;
import com.ruoyi.exam.vo.ExamRandomPracticeQuestionVo;

import java.util.List;

/**
 * 练习题目Service接口
 *
 * @author Tellsea
 * @date 2025-07-28
 */
public interface IExamRandomPracticeQuestionService extends IService<ExamRandomPracticeQuestion> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ExamRandomPracticeQuestionVo> queryList(ExamRandomPracticeQuestionVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ExamRandomPracticeQuestionVo> queryAll(ExamRandomPracticeQuestionVo entity);

    /**
     * 根据ID查询
     *
     * @param practiceQuestionId
     * @return
     */
    ExamRandomPracticeQuestionVo queryById(Long practiceQuestionId);
}
